home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
bbs
/
pad311.zip
/
PHONE.CTL
< prev
next >
Wrap
Text File
|
1996-07-17
|
15KB
|
425 lines
; PHONE.CTL - sample phone control file - by Stefan Xenos
;
; This file defines how the callback verifier treats
; different phone numbers. You should edit it to
; reflect your local calling area before using the
; callback verifier. This file controls:
;
; - Which numbers can be dialed without long distance
; charges.
; - Which long distance numbers should and should
; not be called.
; - Locked out phone numbers
; - How many digits should be dialed for different
; sets of phone numbers.
;
; This file replaces the files LOCAL.CTL and LOCKOUT.CTL
; which were required in versions 1.1 and earlier.
;
; Format of this file:
;
; - Comments begin with a semicolon (;).
; - Every non-blank line either contains a keyword
; or a phone number. Keywords all begin with a
; number sign (#).
; - Spaces, tabs, and the characters "()-" are
; ignored in phone numbers, and may be used
; for formatting.
; - Underscores are ignored within keywords.
; In keywords, upper and lower case letters
; are treated identically.
; - Most keywords can be specified more than once.
; A phone number is always effected by the most recent
; keyword specified.
;
; Keywords used to define sections of this file:
;
; Keyword: Meaning:
; --------------------------------------------------------------
; #lockout The phone numbers that follow should not
; be dialed under any circumstances. This
; should include emergency numbers, the numbers
; of harassing users, etc.
;
; #local The numbers that follow may be dialed without
; long distance charges.
;
; #ld The numbers that follow are long distance.
; The BBS will only dial these numbers if
; long distance phone numbers are enabled in
; CALLBACK.CTL.
;
; #ld_lockout The numbers that follow are long distance.
; The BBS will not dial these numbers, no
; matter what the settings in CALLBACK.CTL are.
; This is useful for preventing the BBS from
; dialing numbers in other countries, etc.
; I recommend putting the lines
;
; #ld_lockout
; *
;
; near the end of the file. This will cause
; all unknown phone numbers to be treated
; as being too long distance to dial.
;
; #ask_local Use this keyword to define a group of
; phone numbers which may or may not be
; local calls. If the user's phone number
; is found in the list, they will be asked
; if their number is a local call. If they
; answer yes, this behaves just like #local.
; Otherwise, it behaves just like #ld.
;
; #end Everything beyond this keyword is ignored
; This must appear at the end of the file.
;
; Miscellaneous keywords:
;
; Keyword: Meaning:
; --------------------------------------------------------------
; #ld_prefix Defines a prefix which is added to long
; distance numbers before dialing them.
; This is usually set to 1.
;
; #ld_start Defines the first digit to be dialed of
; the following long distance numbers.
; For example, specifying a value of 2
; will cause the first digit of the phone
; number to be skipped (the 2nd digit would
; be the first one dialed). Since every
; calling area I know of requires the entire
; phone number to be dialed for ld numbers,
; this should usually be set to 1.
;
; #ld_len Sets the number of digits to be dialed
; in the following long distance numbers.
;
;
; #local_prefix Defines a prefix which is added to local
; numbers before dialing them. This is
; usually left blank.
;
; #local_start Sets the first digit of local phone numbers
; to dial. For example: My area has 10 digit
; phone numbers. The last 7 digits are dialed
; for local calls. In my case, I set this to
; 4 (the first digit being dialed is the 4th
; digit, skipping the 3 digit area code).
;
; #local_len Sets the number of digits to dial for local
; phone numbers.
;
; #start_time Defines the earliest time that callback verifications
; may be performed.
;
; #end_time Defines the latest time that callback verifications
; may be performed.
;
; #write The remainder of the line is written to the
; user's screen when and if that line is
; reached.
;
; #city The remainder of the line contains a city name.
; The following phone numbers are said to belong
; to this city. If the user's phone number matches
; any of the phone numbers that belong to this
; city, the city name will be displayed to the user.
; By default, padlock will also change the user's
; city name to the city that their phone number
; belongs to (although this behaviour can be
; turned on and off with the num_update_city token
; in SETTINGS.MH). You can end a city with either
; another #city token or an #end_city token.
;
; #end_city Defines the end of a city.
;
;
; Note: #ld_prefix, #ld_start, and #ld_len must be specified
; before any long distance phone numbers are. Also,
; #local_prefix, #local_start, and #local_len must
; preceed any local phone numbers.
;
; It is possible to define #local_len, #local_start, and
; #local_prefix more than once in this file. This is useful
; for sysops who live in an area where the number of digits
; to be be dialed depends on the user's phone number. Sysops
; who use phone extenders or some long distance plan (like
; UniTel) that requires you to dial another phone number
; before the user's number can use this to specify which
; numbers should be dialed using that long distance carrier
; and what the dialing prefix should be.
;
; The following wildcards may be used for phone numbers:
;
; * Skip 0 or more characters.
; ? Skip 1 character
; [] Match any one of the characters
; between the brackets.
; ! Match anything but the following character
; If this is followed by the [] wildcard,
; it means match anything but the characters
; within the brackets.
;
; Example:
;
; If the user's phone number was 6132577636,
; it would match with all of the following:
;
; (613) 257-*
; *
; 613257*
; *7636
; 61325?-7636
; 61*36
; (613) 257-7636
; *257*
; 613*
; 6132577636*
; 61325[67]*
;